package com.koron.order.common.service;

import com.koron.order.common.bean.dto.OrderDispatchDto;
import com.koron.order.common.bean.vo.OrderDispatchVo;
import org.koron.ebs.mybatis.SessionFactory;

public interface OrderDispatchInfoService {

    String insertOrUpdate(SessionFactory factory, OrderDispatchDto dto);

    int deleteById(SessionFactory factory, String id);

    int deleteByOrderId(SessionFactory factory, String orderId);

    OrderDispatchVo queryByOrderId(SessionFactory factory, String orderId);

}
